package com.zheng.study.core.entity.common;

import com.zheng.study.base.entity.NameEntity;

import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * 附件
 * ============================================================================
 * author : dzw
 * createDate:  2018/11/22 。
 * ============================================================================
 */
@Entity
@Table(name = "sys_file_manage")
public class FileManage extends NameEntity {
    private static final long serialVersionUID = -3419883433908386703L;

    /**
     * 路径
     */
    private String url;
    /**
     * gridFSId
     */
    private String gridId;
    /**
     * size
     */
    private long fileSize;
    /**
     * 长度
     */
    private long timeLength;
    /**
     * contentType
     */
    private String contentType;
    /**
     * keyId
     */
    private String keyId;

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getGridId() {
        return gridId;
    }

    public void setGridId(String gridId) {
        this.gridId = gridId;
    }

    public long getFileSize() {
        return fileSize;
    }

    public void setFileSize(long fileSize) {
        this.fileSize = fileSize;
    }

    public long getTimeLength() {
        return timeLength;
    }

    public void setTimeLength(long timeLength) {
        this.timeLength = timeLength;
    }

    public String getKeyId() {
        return keyId;
    }

    public void setKeyId(String keyId) {
        this.keyId = keyId;
    }

    public String getContentType() {
        return contentType;
    }

    public void setContentType(String contentType) {
        this.contentType = contentType;
    }
}
